#pragma once

#ifndef YETIHITSTATE_H
#define YETIHITSTATE_H

#include "State.h"
#include "YetiEnemy.h"

class YetiHitState : public State<YetiEnemy>
{
public:
	void update(YetiEnemy* owner, float frameTime);

};

#endif

void YetiHitState::update(YetiEnemy* owner, float frameTime)
{
	owner->particle.velocity = D3DXVECTOR3(0, 0, 0);
	owner->yetiAnims->playAnimation("Hit");
}